package cs3343.project.family;

public class CharacterController {
	
	private GameController gc;
	public static Character[] players = new Character[ConfigManager.MAX_PLAYER];
	public static Role[] roles;
	public static Stance[] stances;
	public static int noOfPlayers;
	
	public CharacterController(GameController gc) {
		this.gc = gc;
	}
	
	public static void addGamePlayer(Character player) {
		players[players.length] = player;
	}
	
	public static void removeGamePlayer(Character player) {
		for (int i = 0; i < players.length; i++) {
			if (players[i].equals(player))
				//TODO: Remove 
				
				;
		}
	}
	
	public static void reorderGamePlayer() {
		//TODO: Reorder the game player
	}
	
	public static void setNoOfPlayer(int noOfPlayers) {
		CharacterController.noOfPlayers = noOfPlayers;
	}
	
	public static void loadRole() {
		//TODO: Import the role
	}
	
	public static void loadStance() {
		//TODO: Import the stance
	}

	public static int getNoOfPlayers() {
		return noOfPlayers;
	}

	public static void setNoOfPlayers(int noOfPlayers) {
		CharacterController.noOfPlayers = noOfPlayers;
	}
}
